<div th:fragment="bgfwbpl-modal">
<meta charset="UTF-8" />
<meta http-equiv="pragma" content="no-cache"></meta>
<meta http-equiv="cache-control" content="no-cache"></meta>
<meta http-equiv="expires" content="0"></meta>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type="text/css">
body{
	padding: 0px 10px;
}
button{
	width:97px;
	background: #3399FF!important;
}
</style>
<script type="text/javascript">

function loadDataFwb(){
	var tdparam = {
			pageNumber:1,
		    pageSize:100,
		    FWBZT:1
		};
		//{"url": contextRoot + "tdgl/"}
		var fwburl = $.QuickUrlUtils.getProjectName() + "/fwb/";
		//var tdurl = getRootPath()+"/tdgl/"
		$.QuickRemote.AjaxJson(fwburl,function(result){
		    //console.log("result-"+JSON.stringify(result));
			if (result.rows != null) {
				$('#BGFWBID').empty();
				$('#BGFWBID').append("<option value=''>--请选择--</option>");
				for (var i = 0; i < result.rows.length; i++) {
					$('#BGFWBID').append("<option value='" + result.rows[i].FWBID + "'>"+ result.rows[i].FWBMC + "</option>");
				}
				$('#BGFWBID').selectpicker('refresh');
			}
		},tdparam);
}

</script>
<script type="text/html" id="bgfwbplModal">
<!-- 模态框（Modal）-->
<div class="modal fade" id="bgfwbpl-Modal" style="height: 100%;" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width:60%;height: 100%;">
        <div class="modal-content">
            <div class="panel panel-default">
			<div class="panel-heading">
            <h4 class="panel-title"><span class="notice" sytle="width:100px; height:20px; line-height:20px; text-align:center; float:left;"></span></h4>
            </div>
			<div class="table-responsive" >
			 <table class="table table-bordered">
				<tr>
					<td>签约服务包</td>
                     <td>
						<input  class="form-control dataField" readonly="true" id="FWBMC" name="FWBMC">
					</td>
				</tr>
                <tr>
					<td>变更服务包</td>
					<td>
                          <div style="width: 550px;height: 20px;position: absolute; top: 91px;left: 238px;">
                           <select select id="BGFWBID" class="selectpicker show-tick form-control" multiple></select>
                         <div>
					</td>
				</tr>
			 </table>
			</div>
		</div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default back" data-dismiss="modal">返回</button>
                <button type="button" class="btn btn-primary enter" >确认</button>
            </div>
        </div>
    </div>
</div> 
</script>